{if $arrComment}
	<ul>
        {foreach key=i item=item from=$arrComment}
        	<li {if $i==0}class="firstChild" {/if}{if $AppUI->id > 0 && ( $AppUI->id == $item.userid || $AppUI->id == $arrImage.userid )}onmouseover="javascript:onMouseOverForCmt({$item.icommentid});" onmouseout="javascript:onMouseOutForCmt({$item.icommentid});" {/if}> 
            	{if $AppUI->id > 0 && ( $AppUI->id == $item.userid || $AppUI->id == $arrImage.userid )}
                    <div id="rowCmt{$item.icommentid}" class="rowCmt">
                        <a href="javascript:deleteCmt({if isset($intImageId)}{$intImageId}{else}{$arrImage.imageid}{/if},{$item.icommentid},{$intPage});">Xóa</a>
                    </div>
                {/if}  
                {image userid=$item.userid viewid=$AppUI->id type=1 small=2 class="border50NB lFloat"}         	
                <div class="cnt">
                    <h4>
                        <a href="{vfriend_username userid=$item.userid  viewid=$AppUI->id}">{$item.userid|ouser}</a>
                        <span class="rFloat lMargin5">
                            <span class="bLike"><a href="javascript:likeCmt({if isset($intImageId)}{$intImageId}{else}{$arrImage.imageid}{/if},{$item.icommentid},{$intPage});">Thích</a>&nbsp;(<strong id="lcmt{$item.icommentid}">{$item.tlike|number_format}</strong>)</span>
                            <span class="gray lMargin5">{$item.postdate|convert_date}</span>
                        </span>
                    </h4>
                    <p>{$item.content|str_emoticon}</p>
               	</div>
                
            </li>
        {/foreach}
        {if $intTotal > $intLimit}
            <li>{paging total=$intTotal limit=$intLimit offset=$intOffset url=$strUrl div="sComment"}</li>
        {/if} 
    </ul>
{/if}